<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>登录页面</title>
  </head>
  <body>
    <h1>登录页面</h1>
    <form action="http://127.0.0.1:3000/login" method="POST">
      <label>用户名</label>
      <!-- 
        name属性：当你提交表单参数名称就是name
       -->
      <input type="text" name="username" />
      <br />
      <label>密码</label>
      <input type="password" name="password" />
      <br />
      <button type="submit">登录</button>
    </form>
  </body>
</html>
